<?php

namespace App\Module\Api\Controllers;
use App\System\Base\Services\TokenService;
use App\System\Cis\Repositories\CisUserAddressRepository;

/**
 * 收货地址列表
 * @package App\Module\Admin\Controllers
 */
class AddressListController extends Controller
{
    //主页
    public function index()
    {
        $master_id = TokenService::getMasterId();
        $address = CisUserAddressRepository::getInstance();
        $data = $address->getApiList($this->table,$master_id);

        return apiResponse($data);
    }

}
